package peanut.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName tab_user
 */
@TableName(value ="tab_user")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TabUserDTO implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long userId;

    /**
     * 用户手机号
     */
    private Long phone;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 银行卡号
     */
    private Long bankCard;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 用户头像
     */
    private String userImage;

    /**
     * 权限(1,2,3)
     */
    private Integer jurisdiction;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}